package com.qiaoda.entity;

import io.searchbox.annotations.JestId;

import java.util.Date;

public class User {
  
    @JestId
    private Integer id;

    private String username;

    private String title;



    public User() {
    }

    public User(Integer id, String username, String title) {
        this.id = id;
        this.username = username;
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", title='" + title + '\'' +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}